<?php if($sf_user->getCulture() == 'ar') $sf_user->setCulture('en')  ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <?php include_http_metas() ?>
        <?php include_metas() ?>
        <?php include_title() ?>
        <link rel="shortcut icon" href="/favicon.ico" />
        <?php include_stylesheets() ?>
        <?php include_javascripts() ?>
        <script src="<?php echo public_path('tinymce/tiny_mce.js') ?>"></script>
        
    </head>
    <body>
	
        <?php include_component('sfAdminDash', 'header'); ?>
        <script>
        if(window.opener != null){
            $('#sf_admin_theme_header').remove();
            $('#sf_admin_menu').remove();
            $('#sf_admin_path').remove();
            $('#sf_admin_bar').remove();
        }
        </script>
        <?php echo $sf_content ?>
        <script>
        if(window.opener != null){
            $('#sf_admin_bar').remove();
        }
        </script>
        <?php include_partial('sfAdminDash/footer'); ?>
        <script>
        if(window.opener != null){
            $('#sf_admin_theme_footer').remove();
        }
        </script>
    </body>
</html>
